package com.cda.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 购物车查询表
 * 新增productName、productImg
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ShoppingCartVO implements Serializable {

    @TableId(value = "cart_id", type = IdType.AUTO)
    private Integer cartId;

    private String productId;

    private String skuId;

    private String userId;

    private String cartNum;

    private String cartTime;

    private BigDecimal productPrice;

    private String skuProps;

    private String productName;

    private String productImg;

    private String originalPrice;

    private String sellPrice;

    private String skuName;

    private int skuStock;
}
